package org.mall.modules.pojo.product;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.mall.common.util.jsonschema.Long2StringSerializer;
import org.mall.common.util.jsonschema.String2LongDeserialize;

/***
 *@author yinxucun
 *@date 2019-12-29 12:36 
 */
@Data
public class ProductCollectionVO {
    @JsonDeserialize(using = String2LongDeserialize.class)
    @JsonSerialize(using = Long2StringSerializer.class)
    private Long spuId;
    private Integer hasCollectionType;
}
